package cn.fuego.busrental.ui.user;

import java.util.ArrayList;
import java.util.List;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import cn.fuego.busrental.R;
import cn.fuego.misp.ui.list.MispListActivity;

public class MessageListActivity extends MispListActivity<String> {

	private List<String> list=new ArrayList<String>();
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		
	}
	public static void jump(Context context)
	{
		Intent intent = new Intent();
		intent.setClass(context, MessageListActivity.class);		
		context.startActivity(intent);
	}

	@Override
	public void initRes() 
	{
		this.activityRes.setAvtivityView(R.layout.activity_message_list);
		this.listViewRes.setListView(R.id.my_message_list);
		this.listViewRes.setListItemView(R.layout.item_message);
	}

	
	@Override
	protected void initData() {
		list.add("1");
		list.add("1");
		list.add("1");
		list.add("1");
		this.refreshList(list);
	}

	@Override
	public View getListItemView(View view, String item) 
	{
		
		return view;
	}
}
